<template>
  <div id="app" style="width: 100%">
    <keep-alive exclude="BlogLogout,AdminLogin,AdminLogout">
      <router-view v-if="isRouterAlive" />
    </keep-alive>
  </div>
</template>


<script>
export default {
  name: "App",
  data() {
    return {
      isRouterAlive: true,
    };
  },
  methods: {
    reload() {
      this.isRouterAlive = false;
      this.$nextTick(() => (this.isRouterAlive = true));
    },
  },
};
</script>

<style lang="scss">
#app {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
</style>